﻿using System.Windows.Media.Imaging;

namespace LabColorPicker {

    public abstract class OneChannelBitmapMaker {

        public abstract int Width { get; }
        public abstract int Height { get; }
        public abstract BitmapSource Bitmap { get; }
        
        protected abstract BitmapSource _UpdateBitmap( );

    }

    public abstract class OneChannelBitmapMaker<TColor, TChannels>: OneChannelBitmapMaker {

        public abstract TColor Color { get; set; }
        public abstract TChannels Channel { get; set; }

    }

}
